﻿<UserControl x:Class="SPTotalAutomationToolkit.SP2013IntranetProjectTemplate.Wizard.Page1"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignHeight="389" d:DesignWidth="700" Loaded="UserControl_Loaded">
    <Grid Height="389" HorizontalAlignment="Left" Name="page1Grid" Width="700">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20*" />
            <ColumnDefinition Width="660*" />
            <ColumnDefinition Width="20*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Grid.Column="1" Margin="0,10,0,0" Name="clientNameLabel" FontWeight="Bold" 
               Target="{Binding ElementName=clientNameTextBox}" 
               Content="What is the name of the company for this portal (e.g. Acme)?" />
        <TextBox Grid.Row="1" Grid.Column="1" Margin="5,0,1,0" Height="23" Name="clientNameTextBox" 
                 TextChanged="ClientNameTextBoxTextChanged" />
        <Label Grid.Row="2" Grid.Column="1" Margin="0,10,0,0" Name="projectNameLabel" FontWeight="Bold" 
               Target="{Binding ElementName=projectNameTextBox}" 
               Content="Provide a name for this project (e.g. Intranet, Extranet, HR Portal, etc.)" />
        <TextBox Grid.Row="3" Grid.Column="1" Margin="5,0,1,0" Height="23" Name="projectNameTextBox" 
                 TextChanged="ProjectNameTextBoxTextChanged" />
        <Label Grid.Row="4" Grid.Column="1" Margin="0,10,0,0" Content="What is the trust level for this SharePoint solution?" 
               Name="trustLabel" FontWeight="Bold" Grid.ColumnSpan="2" />
        <StackPanel Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" Orientation="Vertical" Margin="0,10,0,0" >
            <RadioButton Content="Deploy as a sand_boxed solution" Margin="5,0,0,0" Name="sandboxedSolutionRadioButton" 
                         FontWeight="Bold" Checked="sandboxedSolutionRadioButton_Checked" />
            <TextBlock TextWrapping="WrapWithOverflow" Margin="25,7,50,0">Clicking this option causes the solution to be 
                       deployed as a Sandboxed solution. Sandboxed solutions can be deployed by the site collection owner 
                       and are run in a secure, monitored process that has limited resource access.</TextBlock>
            <RadioButton Content="Deploy as a _farm solution" Margin="5,7,0,0" Name="farmSolutionRadioButton" FontWeight="Bold" 
                         Checked="farmSolutionRadioButton_Checked" />
            <TextBlock TextWrapping="WrapWithOverflow" Margin="25,7,50,0">Clicking this option means that users must have 
                       SharePoint administrator privileges to run or deploy the solution.</TextBlock>
        </StackPanel>
        <Label Grid.Row="6" Grid.Column="1" Margin="0,20,0,0" Content="How should the web applications and site collections be structured?" 
               Name="HnscLabel" FontWeight="Bold" Grid.ColumnSpan="2" />
        <StackPanel Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" Orientation="Horizontal" Margin="0,10,0,0">
            <RadioButton Content="Deploy using host named site collections (HNSC's)" Margin="5,0,0,0" Name="hostNamedScRadioButton" 
                         Checked="hostNamedScRadioButton_Checked" />
            <RadioButton Content="Deploy using traditional path based site collections" Margin="25,0,0,0" Name="pathBasedScRadioButton"  
                         Checked="pathBasedScRadioButton_Checked" />
        </StackPanel>
    </Grid>
</UserControl>